package com.fita.wechat.service.impl;

import java.util.Date;

import org.springframework.stereotype.Service;

import com.demo2do.core.persistence.annotation.Dao;
import com.fita.entity.data.ExchangeRate;
import com.fita.wechat.dao.ExchangeRateDao;
import com.fita.wechat.service.ExchangeRateService;

/**
 * 
 * @author dan
 *
 */
@Service("exchangeRateService")
public class ExchangeRateServiceImpl implements ExchangeRateService{
    
    @Dao
    private ExchangeRateDao exchangeRateDao;
    
    /*
     * (non-Javadoc)
     * @see com.fita.wechat.service.ExchangeRateService#load(java.lang.String, java.util.Date)
     */
    public ExchangeRate load(String currencyCode, Date date) {
        return exchangeRateDao.load(currencyCode, date);
    }

}
